import com.du.cloud.oauth.util.MD5Util;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * Desc:
 * Author: dushuang
 * Date 2020/1/6 9:50
 */
public class test {

    public static void main(String[] args) {
        // $2a$10$QXAfZY8k/be8KmhEEkvzYefA0QQoJ.gvZfxAmEUOaZezG7zPtD4Dq
        System.out.println(new BCryptPasswordEncoder().encode("123456"));
        System.out.println(MD5Util.getMd5Value("dd" + "A07B66CD4641432A8F9E9D81C52A57F2"));
    }
}
